package com.imagine.service;

import com.imagine.entity.AccountStock;
import com.imagine.entity.BaseResult;

import java.util.ArrayList;

/**
 * Created by liangyue on 2017/10/2.
 */
public interface AccountStockService {
    void insertAccountStock(AccountStock accountStock);
    void subAccountStock(AccountStock accountStock);
    Object getAccountStockNumById(AccountStock accountStock);
    AccountStock getAccountStockById(AccountStock accountStock);
    void updateStockOrUsable(int remainOrUsable, String cAccountId, String operator, AccountStock accountStock);
    BaseResult getAllStockByCId(String cId);
}
